import {createApp} from 'vue'
import App from './App.vue'
import router from "@/router"
import {createPinia} from "pinia";
import Vant from 'vant';
import Varlet, {StyleProvider} from '@varlet/ui'
import 'vant/lib/index.css';
import '@varlet/ui/es/style.js'
import {defaultTheme} from "@/theme";

StyleProvider(defaultTheme)
let app = createApp(App);
app.use(router)
    .use(createPinia())
    .use(Varlet)
    .use(Vant)
app.mount('#app')
